import request from '../util/request'

const baseUrl = process.env.NODE_ENV === 'production' ? '' : '/vehicleMap'

export function loginByUsername(username, password) {
    const data = {
        username,
        password
    }
    return request({
        url:baseUrl+ '/lcmanager/login',
        method: 'post',
        data
    })
}
